package main

import (
	"fmt"
)

func typeChecker(variable interface{}) {
	switch v := variable.(type) {
	case string:
		fmt.Println("It's a string:", v)
	case int:
		fmt.Println("It's an integer:", v)
	case bool:
		fmt.Println("It's a boolean:", v)
	default:
		fmt.Println("Unknown type!")
	}
}

func main() {
	typeChecker("Golang")
	typeChecker(123)
	typeChecker(true)
}
